/**
 * 
 */
package com.java.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.java.entity.College;
import com.java.mapper.CollegeMapper;
import com.java.service.CollegeService;

/**
* @author Kidney
* 创建时间：2019年4月29日 下午5:59:08
* Description:
*/
/**
 * @author KIDNEY
 *
 */
@Service("CollegeServiceImpl")
public class CollegeServiceImpl implements CollegeService{

	
	@Autowired
	private CollegeMapper cm;
	
	/* (non-Javadoc)
	 * @see com.java.service.CollegeService#getCollegeName(java.lang.Integer)
	 */
	@Override
	public String getCollegeName(Integer collegeId) {
		// TODO Auto-generated method stub
		College college = cm.selectByPrimaryKey(collegeId);
		
		
		return college.getCollegename();
	}

}
